package edu.zuoyelianxi;

public class XiaoQiuFanTan {
    public static void main(String[] args) {
        float h = 80, sum1 = 0, sum2 = 0, sum = 0;
        for (int i = 1; i <= 6; i++) {
            sum1 += h;
            h = h / 2;
            sum2 += h;
        }
        sum = sum1 + sum2;
        System.out.println(sum);
    }
}
